package com.acme.bankapp.exceptions;

@SuppressWarnings("serial")
public class OverDraftLimitExceededException extends NoEnoughFundsException {
    private double amount;
    private double withdraw;

    public OverDraftLimitExceededException() {
    }

    public OverDraftLimitExceededException(final String string) {
        super(string);
    }

    public OverDraftLimitExceededException(final String string,
            final double amount, final double withdraw) {
        super(string);
        this.amount = amount;
        this.withdraw = withdraw;
    }

    public double getAmount() {
        return amount;
    }
    public double getWithdraw() {
        return withdraw;
    }
}
